package com.gss.system.service;

import com.gss.common.core.service.IBaseService;
import com.gss.entity.R;
import com.gss.entity.sys.dto.SysRole;
import com.gss.entity.sys.vo.SysRoleMenuVo;

import java.util.List;

/**
 * @author DYang
 * @date 2023/6/17
 */
public interface ISysRoleService extends IBaseService<SysRole> {

    /**
     * 授权菜单权限
     * @param entity
     * @return
     */
    R<String> oauthMenu(SysRoleMenuVo entity);

    /**
     * 撤销菜单权限
     * @return
     */
    R<String> deleteMenu(List<Integer> idList);
}
